import swarm.Globals;
import swarm.defobj.Zone;

public class StartSimulation
{
	public static void main (String[] args)
	{
		ObserverSwarm displaySwarm;

		// Swarm initialization: all Swarm apps must call this first.
		Globals.env.initSwarm ("Agriculture Country", "2.1", 
				"Agri-Country@maizhewei.com", args);

		displaySwarm = new ObserverSwarm(Globals.env.globalZone);

		displaySwarm.buildObjects();
		displaySwarm.buildActions();
		displaySwarm.activateIn(null);

		// Now start the displaySwarm and the control panel it
		// provides.
		displaySwarm.go();

		// The user has pressed Quit.  Drop everything and return.
		displaySwarm.drop();
	}
}